<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style>
            #canvas {border:1px solid};
        </style>
    </head>
    <body>
        <canvas id="canvas" width="600" height="400"></canvas>
        <div>TODO write content</div>
        <script> 
        var ctx = document.getElementById('canvas').getContext("2d");
//desenha o círculo
ctx.beginPath();
ctx.arc(75, 75, 20, Math.PI, 0, true);
ctx.closePath();
ctx.fill(); //desenha com preenchimento

//desenha o círculo
ctx.fillStyle="red";
ctx.beginPath();
ctx.arc(75, 75, 20, Math.PI, 0, false);
ctx.closePath();
ctx.fill(); //desenha com preenchimento
        </script>
    </body>
</html>
